package cn.wolfcode.luowowo.search.mapper;

import cn.wolfcode.luowowo.search.domain.FlightInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlightInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FlightInfo record);

    FlightInfo selectByPrimaryKey(Long id);

    List<FlightInfo> selectAll();

    int updateByPrimaryKey(FlightInfo record);

    FlightInfo selectByOrgCityAndDstCity(@Param("orgCity") String orgCity,@Param("dstCity") String dstCity);
}